package org.framework.define.bean.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the tbl_user_pay_account database table.
 * 
 */
@Entity
@Table(name="tbl_user_pay_account")
public class TblUserPayAccount implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(unique=true, nullable=false)
	private int id;

	@Column(name="account_name", nullable=false, length=20)
	private String accountName;

	@Column(name="account_num", nullable=false, length=25)
	private String accountNum;

	@Column(name="account_type", nullable=false, length=5)
	private String accountType;

	@Column(name="user_id", nullable=false, length=20)
	private String userId;

	public TblUserPayAccount() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAccountName() {
		return this.accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public String getAccountNum() {
		return this.accountNum;
	}

	public void setAccountNum(String accountNum) {
		this.accountNum = accountNum;
	}

	public String getAccountType() {
		return this.accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}